$shadowBottom: 0 0.2rem 0.3rem rgba(48, 48, 48, 193);
$shadowTop: 0 -0.1rem 0.2rem rgba(48, 48, 48, 193);
html {
  font-size: 14px;
}

body {
  margin: 0;
  padding: 0;
  background: #eeeeee;
  font-family: 'Consolas', '微软雅黑';
  user-select: none;
  max-width: 450px;
  > div{
    max-width: 450px;
  }
}

.title {
  padding: 1rem 5%;
  background: steelblue;
  color: #ffffff;
  box-shadow: $shadowBottom;
  margin-bottom: 2rem;
  h1 {
    margin: 0;
    padding: 0;
  }
}

.hidden {
  display: none;
}

.container{
  padding-left: 5%;
  .row{
    >span{
      display: inline-block;
      cursor: pointer;
      text-align: center;
      width: 10%;
      height: 24px;
      line-height: 24px;
      border: 1px solid #cccccc;
      border-right-width: 0;
      border-bottom-width: 0;
      background: #ffffff;
      &.col_g_right{
        border-right-width: 1px;
      }
      &:first-child{
        border-left-width: 2px;
      }
      &:last-child{
        border-right-width: 2px;
      }
      &.fixed{
        background: #eeeeee;
      }
      &.empty{
        color: #ffffff;
      }
      &.mark1{
        background: lightblue;
        &.empty{
          color: lightblue;
        }
      }
      &.mark2{
        background: lightgreen;
        &.empty{
          color: lightgreen;
        }
      }
      &.error{
        background: lightpink;
        &.empty{
          color: lightpink;
        }
      }
    }
    &.row_g_bottom{
      >span{
        border-bottom-width: 1px;
      }
    }
    &:first-child{
      >span{
        border-top-width: 2px;
      }
    }
    &:last-child{
      >span {
        border-bottom-width: 2px;
      }
    }
  }
}

$popupCellSize: 40px;
.popup-num{
  @extend .container;
  position: absolute;
  padding: 0;
  .row > span{
    width: $popupCellSize;
    height: $popupCellSize;
    line-height: $popupCellSize;
  }
}

.dashboard{
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  max-width: 450px;
  height: 3rem;
  padding: 1rem 0;
  background: steelblue;
  box-sizing: border-box;
  box-shadow: $shadowTop;
  .buttons{
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    button{
      float: left;
      width: 25%;
      font-size: 1.3rem;
      color: #ffffff;
      border: 1px solid #cccccc;
      background: transparent;
      border-right-width: 0;
      margin: 0;
      padding: 0;
      height: 100%;
      &:last-child{
        border-right-width: 1px;
      }
    }
  }
}
